package cn.ll.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Customer entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "customer", catalog = "lldb")
public class Customer implements java.io.Serializable {

	// Fields

	private String id;
	private String customername;
	private String comtype;
	private String subdepartment;
	private Integer status;
	private String continent;
	private String country;
	private String city;
	private String tel;
	private String fax;
	private String website;
	private String address;
	private String userid;
	private String contactorname;
	private String contactgender;
	private String contactoremail;
	private String contactorposition;
	private String contacttel;
	private String contactmobile;
	private String comstyle;
	private String remarks;
	private String username;

	// Constructors

	/** default constructor */
	public Customer() {
	}

	/** minimal constructor */
	public Customer(String id, String customername, String comtype, Integer status, String continent,
			String country, String city, String tel, String fax, String website, String address, String userid,
			String contactorname, String contactgender, String contactoremail, String contactorposition,
			String contacttel, String username) {
		this.id = id;
		this.customername = customername;
		this.comtype = comtype;
		this.status = status;
		this.continent = continent;
		this.country = country;
		this.city = city;
		this.tel = tel;
		this.fax = fax;
		this.website = website;
		this.address = address;
		this.userid = userid;
		this.contactorname = contactorname;
		this.contactgender = contactgender;
		this.contactoremail = contactoremail;
		this.contactorposition = contactorposition;
		this.contacttel = contacttel;
		this.username = username;
	}

	/** full constructor */
	public Customer(String id, String customername, String comtype, String subdepartment, Integer status,
			String continent, String country, String city, String tel, String fax, String website, String address,
			String userid, String contactorname, String contactgender, String contactoremail,
			String contactorposition, String contacttel, String contactmobile, String comstyle, String remarks,
			String username) {
		this.id = id;
		this.customername = customername;
		this.comtype = comtype;
		this.subdepartment = subdepartment;
		this.status = status;
		this.continent = continent;
		this.country = country;
		this.city = city;
		this.tel = tel;
		this.fax = fax;
		this.website = website;
		this.address = address;
		this.userid = userid;
		this.contactorname = contactorname;
		this.contactgender = contactgender;
		this.contactoremail = contactoremail;
		this.contactorposition = contactorposition;
		this.contacttel = contacttel;
		this.contactmobile = contactmobile;
		this.comstyle = comstyle;
		this.remarks = remarks;
		this.username = username;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "customername", nullable = false, length = 50)
	public String getCustomername() {
		return this.customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	@Column(name = "comtype", nullable = false, length = 100)
	public String getComtype() {
		return this.comtype;
	}

	public void setComtype(String comtype) {
		this.comtype = comtype;
	}

	@Column(name = "subdepartment", length = 100)
	public String getSubdepartment() {
		return this.subdepartment;
	}

	public void setSubdepartment(String subdepartment) {
		this.subdepartment = subdepartment;
	}

	@Column(name = "status", nullable = false)
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "continent", nullable = false, length = 100)
	public String getContinent() {
		return this.continent;
	}

	public void setContinent(String continent) {
		this.continent = continent;
	}

	@Column(name = "country", nullable = false, length = 100)
	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Column(name = "city", nullable = false, length = 100)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "tel", nullable = false, length = 50)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "fax", nullable = false, length = 100)
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "website", nullable = false, length = 100)
	public String getWebsite() {
		return this.website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	@Column(name = "address", nullable = false, length = 50)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "userid", nullable = false, length = 36)
	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@Column(name = "contactorname", nullable = false, length = 100)
	public String getContactorname() {
		return this.contactorname;
	}

	public void setContactorname(String contactorname) {
		this.contactorname = contactorname;
	}

	@Column(name = "contactgender", nullable = false, length = 20)
	public String getContactgender() {
		return this.contactgender;
	}

	public void setContactgender(String contactgender) {
		this.contactgender = contactgender;
	}

	@Column(name = "contactoremail", nullable = false, length = 100)
	public String getContactoremail() {
		return this.contactoremail;
	}

	public void setContactoremail(String contactoremail) {
		this.contactoremail = contactoremail;
	}

	@Column(name = "contactorposition", nullable = false, length = 100)
	public String getContactorposition() {
		return this.contactorposition;
	}

	public void setContactorposition(String contactorposition) {
		this.contactorposition = contactorposition;
	}

	@Column(name = "contacttel", nullable = false, length = 100)
	public String getContacttel() {
		return this.contacttel;
	}

	public void setContacttel(String contacttel) {
		this.contacttel = contacttel;
	}

	@Column(name = "contactmobile", length = 100)
	public String getContactmobile() {
		return this.contactmobile;
	}

	public void setContactmobile(String contactmobile) {
		this.contactmobile = contactmobile;
	}

	@Column(name = "comstyle", length = 500)
	public String getComstyle() {
		return this.comstyle;
	}

	public void setComstyle(String comstyle) {
		this.comstyle = comstyle;
	}

	@Column(name = "remarks", length = 1000)
	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Column(name = "username", nullable = false, length = 45)
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}